<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width = device-width , initial-scale = 1 , minimum-scale = 1 , maximum-scale = 1 , user-scalable = no">
    <link rel="stylesheet" href="../../resource/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../resource/css/common.css">
</head>
<body>
    <div id="header">
        <a href="javascript:void(0)" class="nav-back">返回</a>
        <label>注册</label>
        <span class="register-title"></span>
    </div>
    <div id="login-form" name="">
        <div class="login-context">
            <label id="lb-phoneNumber" for="phoneNumber">账号</label>
            <input placeholder="请输入手机号"  name="phoneNumber" id="phoneNumber" maxlength="11"/>
        </div>
        <div class="login-context register">
            <label id="lb-idfCode" for="idfCode">验证码</label>
            <input placeholder="请输入验证码" name="idfCode" id="idfCode" maxlength="6"/>
            <button class="btn-sendCode" onclick="sendCode(this)" href="javascript:void(0)">发送验证码</button>
        </div>
        <div class="login-context new-psd">
            <label id="lb-psd" for="psd">新密码</label>
            <input type="password" placeholder="请输入密码" onchange="" name="psd" id="psd" maxlength="20"/>
        </div>
        <button type="idf-next submit" onclick="confirmPhoneNumber()" name="btn-submit" class="btn-submit"></button>
    </div>
 <!--   模态弹窗-->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog"
         aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">

                <div class="modal-body">

                </div>

            </div>
        </div>
    </div>

<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="../../resource/js/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="../../resource/js/bootstrap.min.js"></script>
    <script src="../../resource/js/commonjs.js"></script>
    <script src="../../resource/js/register.js"></script>
    <script>
        $(function(){
            newPsd = getArg("newPsd");
            if(newPsd) {
                $("#header label").text("找回密码");
                $(".btn-submit").text("完成");
                $(".new-psd").show();
            } else {
                $(".btn-submit").text("下一步");
            }
            $(".nav-back").click(function(){
                location.href = "../login/login.html?url=1";
            });
        })
    </script>
</body>
</html>